package com.michael.demos.base.design.prototype;

import java.util.Map;

/**
 * 类功能描述:
 * <pre>
 *   选择题
 * </pre>
 *
 * @author Michael
 * @version 1.0
 * @date 2020/8/17 16:38
 */
public class ChoiceQuestion {
	/** 题目 */
	private String name;
	/** 选项；A、B、C、D */
	private Map<String, String> option;
	/** 答案；B */
	private String key;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Map<String, String> getOption() {
		return option;
	}

	public void setOption(Map<String, String> option) {
		this.option = option;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public ChoiceQuestion() {}

	public ChoiceQuestion(String name, Map<String, String> option, String key) {
		this.name = name;
		this.option = option;
		this.key = key;
	}
}
